//khai bao thu vien
#include<conio.h>
#include<stdio.h>
void main()
{
	//khai bao bien
	long n,i,j,k,m;
	//xoa man hinh
	clrscr();
	printf("\n\tCHUONG TRINH DOI TIEN LE");
	printf("\n\tNhap so tien:");
	scanf("%ld",&n);
	//Tim so tien doi duoc
	i=n/10;
	j=(n-i*10)/5;
	k=(n-i*10-j*5)/2;
	m=(n-i*10-j*5-k*2);
	//In ra ket qua
	printf("\n\t%ldd = %ld to 10d, %ld to 5d, %ld to 2d, %ld to 1d",n,i,j,k,m);
	getch();
}


